home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
awe2-0_1.lha
/
awe2-0.1
/
Src
/
RCS
/
HeapScheduler.h,v
< prev
next >
Wrap
Text File
|
1988-12-20
|
1KB
|
87 lines
head 3.1;
branch ;
access ;
symbols ;
locks ; strict;
comment @ * @;
3.1
date 88.12.20.13.49.56; author grunwald; state Exp;
branches ;
next 1.2;
1.2
date 88.10.30.13.05.49; author grunwald; state Exp;
branches ;
next 1.1;
1.1
date 88.09.18.16.42.08; author grunwald; state Exp;
branches ;
next ;
desc
@@
3.1
log
@Steay version
@
text
@// This may look like C code, but it is really -*- C++ -*-
//
// Copyright (C) 1988 University of Illinois, Urbana, Illinois
//
// written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
//
#ifndef HEAPSCHEDULERH
#define HEAPSCHEDULERH
#include "ThreadContainer.h"
#include "ThreadHeap.h"
class Thread;
class HeapScheduler : public ThreadContainer {
ThreadHeap heap;
public:
HeapScheduler(bool xdebug = 0) : (xdebug) {};
virtual void add(Thread *t);
virtual void add(double key, Thread *t);
virtual void add(int key, Thread *t);
virtual Thread* remove();
virtual Thread* remove(Thread*);
virtual bool isEmpty();
virtual unsigned size();
virtual void classPrintOn(ostream& s);
};
#endif HEAPSCHEDULERH
@
1.2
log
@*** empty log message ***
@
text
@@
1.1
log
@Initial revision
@
text
@d1 6
@